\newcommand{\pdfgraphics}{
\ifpdf
\usepackage{graphicx,latexsym,pdftex,graphics}
\pdfcompresslevel=9
\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.mps}
\fi}
